$(function() {

  /* ----------------------------------------------------------------
    collapser
  ---------------------------------------------------------------- */
  $('.collapser').collapser({
    //openOnLoad: '.collapser',
    //autoClose: true,
    duration: 250,
    easing: 'swing'
  });

  $('.g-collapser').collapser({
    duration: 250,
    easing: 'swing',
    trigger: '<a href="#">generated trigger</a>'
  });
  
  $('.autoclose').collapser({
    duration: 250,
    easing: 'swing',
    autoClose: true
  });
  
});
